import createHeading from './heading.js'
import './main.css' // 只需要执行该文件
import icon from './icon.png'

const heading = createHeading()

document.body.append(heading)

const img = new Image()
img.src = icon 
document.body.append(img)

import footerHtml from './footer.html'
document.write(footerHtml)